<?php
	require_once("../connection.php");
	
	$nick_name = $_POST['nick_name'];
	$result = mysql_query("SELECT * FROM site_user_meta WHERE `nick_name`='$nick_name'");
	if(!$result) echo mysql_error();
	if(mysql_numrows($result) == 0)
		echo "ok";
	else
		echo "notok";
?>